import Vue from 'vue'
import Router from 'vue-router'
// import Hello from '@/components/Login'
// import Hello from '@/components/Hello'

Vue.use(Router)

export default new Router({
  // mode: 'history',
  routes: [
    {
      path:'*',
      component: resolve => require(['../page/OfficialNew'],resolve)
    },
    {
      path:'/',
      component: resolve => require(['../page/OfficialNew'],resolve)
    },
    {
      path:'/official',
      component: resolve => require(['../page/OfficialNew'],resolve)
    },
    {
      path:'/history',
      component: resolve => require(['../page/History'],resolve)
    },
    {
      path:'/join',
      component: resolve => require(['../page/Join'],resolve)
    },
    {
      path:'/link',
      component: resolve => require(['../page/Link'],resolve)
    },
    {
      path:'/story',
      component: resolve => require(['../page/Story'],resolve)
    }
  ]
})
